﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dx.SysAdmin
{
    /// <summary>
    ///模块编号：CS003
    ///功能描述：系统参数业务实体
    ///创 建 人：杨秀东
    ///创建日期：2008-12-1
    /// </summary>
    [Serializable]
    public class SysParamInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public SysParamInfo()
		{
            //
        }

		#region Model
		private int _id;
		private int _xxms;
		private int _xtwh;
		private string _qtcs;
		private decimal _dxfl;
		private int _xslc;
		private int _aqsz;
		private int _qjfs;
		private int _xsws;
		private string _ymdz;
		private decimal _kcxs;
		private int _yhzz;
        private int _zc;
        private int _jzc;
        private int _kmzc;
        private int _kmjzc;
        private int _kmshow;
        private bool _zzqr;
        private string _tspkey;
        private int _isdm;
        private int _xxjg;
        private int _mzxz;
        private int _sfdm;
        private int _YktExchangeType;
        private decimal _zhye;

        //add by lxzh 2009-9-9
        private int _exportposition;
        private int _exporttime;

        //add by lxzh 2010-3-4
        private string _paybyhandhint;
        private string _ttzxsitename;
        private string _ttyktsitename;
        private string _ttwdsitename;
        private int _ttzxtimeout;
        private int _storagewarm;
        private bool _storagechangebuyprice;
        private bool _ttzxremovesafe;
        private bool _ttzxremovexjsafe;
        private int _vipdaywarning;
        private decimal _vipmoneywarning;
        private int _agentdefaultindex;

        private int _IsProOffMsg;
        private string _SendMail;
        private int _IsAutoUpPro;
        private int _AutoUpDownProTime;
        private int _OrderSuspendTime;
        private int _ThirdOrderAreaMode;
        private int _HandBuyAreaId;
        private int _IsThirdSale;


        private int _updatesafeuserset;

        //add by lxzh 2011-11-22
        private bool _UsingSecurity;            //是否启用安全项
        private bool _IsVerifyYard;             //是否启用验证码规则
        private bool _IsUserIP;                 //是否启用Ip绑定
        private bool _IsHardInfo;               //是否启用硬件信息绑定
        private bool _IsCard;                   //是否启用密保卡绑定
        private bool _IsSafeCode;               //启用安全锁绑定
        private bool _IsOTP;                    //是否启用动态口令绑定

        /// <summary>
        /// 参数编号
        /// </summary>
        public int UpdateSafeUserSet
        {
            set { _updatesafeuserset = value; }
            get { return _updatesafeuserset; }
        }


		/// <summary>
        /// 参数编号
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
        /// 信息显示模式：1审核后显示，2立刻显示
		/// </summary>
		public int Xxms
		{
			set{ _xxms=value;}
			get{return _xxms;}
		}
		/// <summary>
        /// 系统维护：0停机维护，1正常运行
		/// </summary>
		public int Xtwh
		{
			set{ _xtwh=value;}
			get{return _xtwh;}
		}
		/// <summary>
        /// 其他参数
		/// </summary>
		public string Qtcs
		{
			set{ _qtcs=value;}
			get{return _qtcs;}
		}
		/// <summary>
        /// 代销费率
		/// </summary>
		public decimal Dxfl
		{
			set{ _dxfl=value;}
			get{return _dxfl;}
		}
		/// <summary>
        /// 销售流程：0不启用流量监控，1启用流量监控
		/// </summary>
		public int Xslc
		{
			set{ _xslc=value;}
			get{return _xslc;}
		}
		/// <summary>
        /// 安全设置：0不检测，1检测
		/// </summary>
		public int Aqsz
		{
			set{ _aqsz=value;}
			get{return _aqsz;}
		}
		/// <summary>
        /// 取价方式：按用户级别优先级，2按设价日期顺序
		/// </summary>
		public int Qjfs
		{
			set{ _qjfs=value;}
			get{return _qjfs;}
		}
		/// <summary>
        /// 小数位数：2精确到两位，3精确到三位
		/// </summary>
		public int Xsws
		{
			set{ _xsws=value;}
			get{return _xsws;}
		}
		/// <summary>
        /// 域名地址
		/// </summary>
		public string Ymdz
		{
			set{ _ymdz=value;}
			get{return _ymdz;}
		}
		/// <summary>
        /// 库存系数
		/// </summary>
		public decimal Kcxs
		{
			set{ _kcxs=value;}
			get{return _kcxs;}
		}
		/// <summary>
        /// 前台用户跨级转账：0不允许（只能上级对下级转账） ，1允许（可任意转账）
		/// </summary>
		public int Yhzz
		{
			set{ _yhzz=value;}
			get{return _yhzz;}
		}


        /// <summary>
        /// 前台购买产品时候显示按钮文字
        /// 在线卡直储
        /// 0官方直充、1在线直充、2快速充值、3自助充值、4在线储值、5在线直储
        /// </summary>
        public int zc
        {
            set { _zc = value; }
            get { return _zc; }
        }
        /// <summary>
        /// 前台购买产品时候显示按钮文字
        /// 在线卡假直储
        /// 0人工代充、1手工充值、2人工充值、3在线储值、4快速充值
        /// </summary>
        public int jzc
        {
            set { _jzc = value; }
            get { return _jzc; }
        }
        /// <summary>
        /// 前台购买产品时候显示按钮文字
        /// 卡密卡直储
        /// 0卡密直充、1卡密直储、2官方直充、3在线直充、4快速充值、5自助充值、6在线储值
        /// </summary>
        public int kmzc
        {
            set { _kmzc = value; }
            get { return _kmzc; }
        }
        /// <summary>
        /// 前台购买产品时候显示按钮文字
        /// 卡密卡假直储
        /// 0卡密代充、1手工充值、2人工充值、3人工代充、4在线储值、5快速充值
        /// </summary>
        public int kmjzc
        {
            set { _kmjzc = value; }
            get { return _kmjzc; }
        }
        /// <summary>
        /// 前台购买产品时候显示按钮文字
        /// 卡密卡 显示卡密
        /// 0提取卡密、1购买卡密
        /// </summary>
        public int kmshow
        {
            set { _kmshow = value; }
            get { return _kmshow; }
        }
        /// <summary>
        /// 转账确认
        /// 前台用户给下级转账，下级是否需要确认才能到账
        /// </summary>
        public bool zzqr
        {
            set { _zzqr = value; }
            get { return _zzqr; }
        }

        /// <summary>
        /// TSP用户Key
        /// </summary>
        public string TspKey
        {
            set { _tspkey = value; }
            get { return _tspkey; }
        }
        /// <summary>
        /// 是否启用代卖功能
        /// 0不启用 1启用
        /// </summary>
        public int IsDaiMai
        {
            set { _isdm = value; }
            get { return _isdm;}
        }

        /// <summary>
        /// 信息提醒间隔时间设置
        /// 1,3,5,10(分钟)
        /// </summary>
        public int Xxjg
        {
            set { _xxjg = value; }
            get { return _xxjg; }
        }

        /// <summary>
        /// 是否允许售价设置高于面值
        /// 1--可高于面值;0--不可高于面值
        /// </summary>
        public int Mzxz
        {
            set { _mzxz = value; }
            get { return _mzxz; }
        }

        /// <summary>
        /// 是否使用代卖卡功能
        /// 1--使用代卖卡功能;0--不使用代卖卡功能
        /// </summary>
        public int Sfdm
        {
            set { _sfdm = value; }
            get { return _sfdm; }
        }

        /// <summary>
        /// 一卡通兑换卡扣费方式
        ///  0下发时扣费、1开通时扣费
        /// </summary>
        public int YktExchangeType
        {
            set { _YktExchangeType = value; }
            get { return _YktExchangeType;  }
        }

        /// <summary>
        /// 帐户余额提醒
        /// </summary>
        public decimal Zhye
        {
            set { _zhye = value; }
            get { return _zhye; }
        }

        /// <summary>
        /// 一卡通卡明文卡密导出位置：0：专门工具导出；1：各个站点后台自行导出。
        /// </summary>
        public int ExportPosition
        {
            set { _exportposition = value; }
            get { return _exportposition; }
        }

        /// <summary>
        /// 导出的有效时间，单位为小时。此参数对站点自行导出明文卡密有效。        ///  默认为24小时内允许导出        /// </summary>
        public int ExportTime
        {
            set { _exporttime = value; }
            get { return _exporttime; }
        }

        /// <summary>
        /// 手工代充提示信息设置
        /// </summary>
        public string PayByHandHint
        {
            set { _paybyhandhint = value; }
            get { return _paybyhandhint; }
        }
        /// <summary>
        /// 设置站点名称：天天在线
        /// </summary>
        public string TTZXSiteName
        {
            set { _ttzxsitename = value; }
            get { return _ttzxsitename; }
        }
        /// <summary>
        /// 设置站点名称：天天一卡通
        /// </summary>
        public string TTYKTSiteName 
        {
            set { _ttyktsitename = value; }
            get { return _ttyktsitename; }
        }
        /// <summary>
        /// 设置站点名称：天天网店
        /// </summary>
        public string TTWDSiteName 
        {
            set { _ttwdsitename = value; }
            get { return _ttwdsitename; }
        }
        /// <summary>
        /// 设置前台超时退出时间：单位（分钟）
        /// </summary>
        public int TTZXTimeOut
        {
            set { _ttzxtimeout = value; }
            get { return _ttzxtimeout; }
        }
        /// <summary>
        /// 到期库存预警：设置“到期提前*天提醒”。默认30天
        /// </summary>
        public int StorageWarm 
        {
            set { _storagewarm = value; }
            get { return _storagewarm; }
        }
        /// <summary>
        /// 上传库存上传价格更改，是否修改商品的系统进价
        /// </summary>
        public bool StorageChangeBuyPrice
        {
            set { _storagechangebuyprice = value; }
            get { return _storagechangebuyprice; }
        }
        /// <summary>
        /// 前台用户可否自行解除安全措施：默认可以解除
        /// </summary>
        public bool TTZXRemoveSafe
        {
            set { _ttzxremovesafe = value; }
            get { return _ttzxremovesafe; }
        }
        /// <summary>
        /// 经销商解除下级安全措施：可以解除/不可以解除
        /// </summary>
        public bool TTZXRemoveXJSafe
        {
            set { _ttzxremovexjsafe = value; }
            get { return _ttzxremovexjsafe; }
        }
        /// <summary>
        /// VIP会员到期提醒：会员到期前*天提醒
        /// </summary>
        public int VIPDayWarning 
        {
            set { _vipdaywarning = value; }
            get { return _vipdaywarning; }
        }
        /// <summary>
        /// VIP会员到期提醒：会员销售限额提醒
        /// </summary>
        public decimal VIPMoneyWarning 
        {
            set { _vipmoneywarning = value; }
            get { return _vipmoneywarning; }
        }
        /// <summary>
        /// 经销商登录后默认首页
        /// </summary>
        public int AgentDefaultIndex 
        {
            set { _agentdefaultindex = value; }
            get { return _agentdefaultindex; }
        }

        public int IsProOffMsg
        {
            set { _IsProOffMsg = value; }
            get { return _IsProOffMsg; }
        }
        public string SendMail
        {
            set { _SendMail = value; }
            get { return _SendMail; }
        }
        public int IsAutoUpPro
        {
            set { _IsAutoUpPro = value; }
            get { return _IsAutoUpPro; }
        }
        public int AutoUpDownProTime
        {
            set { _AutoUpDownProTime = value; }
            get { return _AutoUpDownProTime; }
        }
        public int OrderSuspendTime
        {
            set { _OrderSuspendTime = value; }
            get { return _OrderSuspendTime; }
        }
        public int ThirdOrderAreaMode
        {
            set { _ThirdOrderAreaMode = value; }
            get { return _ThirdOrderAreaMode; }
        }
        public int HandBuyAreaId
        {
            set { _HandBuyAreaId = value; }
            get { return _HandBuyAreaId; }
        }
        public int IsThirdSale
        {
            set { _IsThirdSale = value; }
            get { return _IsThirdSale; }
        }

        /// <summary>
        /// 是否启用安全项
        /// </summary>
        public bool UsingSecurity
        {
            get { return _UsingSecurity; }
            set { _UsingSecurity = value; }
        }

        /// <summary>
        /// 是否启用验证码规则
        /// </summary>
        public bool IsVerifyYard
        {
            get { return _IsVerifyYard; }
            set { _IsVerifyYard = value; }
        }

        /// <summary>
        /// 是否启用Ip绑定
        /// </summary>
        public bool IsUserIP
        {
            get { return _IsUserIP; }
            set { _IsUserIP = value; }
        }

        /// <summary>
        /// 是否启用硬件信息绑定
        /// </summary>
        public bool IsHardInfo
        {
            get { return _IsHardInfo; }
            set { _IsHardInfo = value; }
        }

        /// <summary>
        /// 是否启用密保卡绑定
        /// </summary>
        public bool IsCard
        {
            get { return _IsCard; }
            set { _IsCard = value; }
        }

        /// <summary>
        /// 启用安全锁绑定
        /// </summary>
        public bool IsSafeCode
        {
            get { return _IsSafeCode; }
            set { _IsSafeCode = value; }
        }

        /// <summary>
        /// 是否启用动态口令绑定
        /// </summary>
        public bool IsOTP
        {
            get { return _IsOTP; }
            set { _IsOTP = value; }
        }
		#endregion Model
    }
}
